pagination support

I would love to test this for you but I dont have wefrag sample DB