Added User model with password hashing functionality.