logout to nav-element