tweak for logout