some changes to log user failed login