refactored and added paging to method getServiceOrdersByStatus