Modified delete method in controller and model