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