further bug fixes to sign up and sign in