Implemented check to test for existing user
Initialised missing failedLogins in sessions variable
Prelim work for email receiver along with relevant mail and mysql libs