refactor agency api calls in ApiClient class
implement apiClient in PWUser class