Failed Website Login Attempts

This customer requested new programming logic be added to the website login form to block and lock out users with failed login attempts.  PHP code was added to track multiple attempts. If 5 attempted logins failed within 5 minutes, the user is locked out for a period of time. If usernames entered did not exist,the user is blocked and tracked in the database to monitor and attempt to block ip addresses.
failed login attempts