Adding the views for the pages model