allow the client id to be specified