Fleshing out the controller to run all the actions, adding a before save method to the model to automatically add the users id