updates to book controller and index page