Implemented User model with password.