Added an automatic password reset function (Ticket #23)
Stopped login email address being case sensitive (Ticket #37)