fixed log in and sign up switch bug