Changes to the user model and controller.