Added client to the api