Fixed bug with back button after login.