Fix sign in and sign up breaking glitch