Add pagination et search to route