Added delete to the controller