tweak logout