Fixed logout in MainMenu