Fixed logout system