register client
unregistering clients