Major changes

Added database per user containing email messages
Stores email messages in database instead of in memory
Added Md5 function (I'm lazy)
Login form inserts only user details if login was succesful
Few design changes