Added search functionality for books