add the view_all books function