Created a method to read the book details