Adds validations to user model.
Precompiles assets.