update apiClient to communicate with the siteUrl instead of localhost.