Added a controller to remove an event from the candidate's events array and delete the candidate if they no longer have events in the array.