Implemented paging on server