add client auth code