renamed pages method to paged_resource