added paginated routing