view a book in more detail and main page are functional