handle some simple login and sign up errors