added login error handling client side, started password reset