allow per page and max per page (for resource lists) to be configured