Refactored User model

When creating the password for a new user, it's automatically hashed when
saving, not in the user-handler module.