reset generates logout only if logged on