Creating a user model with validations and tests