login process can now redirect to the original requested page