Added protection against brute force login attacks. Lock IP for 1 hour after 3 failed login attempts.