add pagination

insert pagination and set maximum per page to 10