need to add delete function for entires controller.