add credentials to apiclient