bug fix cant go back to login once logged in brom back button