Added a login object, and added the password field to user that is hashed on entering