Add validators to user model and fix a small bug in users_controller.rb in method create