Client login/logout fixes
Remove apps from nestor tree