--logout works