Added support for pageSize, page and offset query params