manage resources with pagination