draft implementation of server side pagination for retriveOne
Updated the method names
update pagination methods to utilize search and order the results.

optimized data fetching.
Changed the client endpoint methods to retrieve clients
MIFOSX-321: tidy up some of backend implementation for client pagination and sorting example.