refactor paginate requirement route