bug fix log in and sign up tab switching