add pagination method
fix queryparams annotation