LogOut in WSC and WS