Added missing fields to the User model; spec/models/user_spec.rb test passed