Updated the API-client with oath authentication