Split utilities out into reusable module and handle responses to failed login attempts in a more detailed manner.
Add application to handle cron jobs.