Added pagination for resource list