add page method to Page.all