That should be the default behavior, though there was a bug in the weblogin snippet regarding this that was just recently corrected. This fix is available in the 0.9.6.1 release if you haven’t upgraded.
anyway I can forward the web user to the page he tried to access instead of front page or specific doc id?