handle login errors