add and search the books