modify controller for deleteBook