[mainWindow] LogOut and Close