added login error messages