Adds necessary actions to the controller