Added password hashing.
Enforced new type for passwords; added UserDetail message.
Moved CQL to Model.