Blocking access to the login page after three unsuccessful login attempts