search book and add book hook to db