Defect: reseting login failed attempts to 0 when the user succesfully logins