add client to locals