finish the removeBook-backend function