refactor(books): move the recovery of books in the controller