Redirect back to last visited page after login/logout

Use session scope