Implemented account lockout on failed login attempts