Use paginator middleware