logout tweak