user login error fixes