Define actions for controller