added user ID to model, the controller, and the view