Bugfixing Logout