minor changes, working on geting Terminate to work for client
call Leave when client start new session