email login now redirects to original page