Adding User model validation. Adding a controller error handler.