client id management