setup route for labs pagination