add paginate stub for resource controller