Revert "fixxing logout"

This reverts commit 856112087ba7ac330606fcdcf618f91e9eab6def.