Fixed login/signup back button bug