returning array of book details when a book is clicked on in table
added book_table