Updated user model to support secured passwords

Parts of the website are now broken. Need to fix this up.