add client credentials during instantiation