added views for the book and library models