added functionality to delete a cake