Add pagination via query params