changed pagination page number and pagination page size to to int driven