Hello. Show message action does not blocks action execution so user log out action works before user closes message box. This probably prevents screens from switching. Either logout before displaying message box or use Ask Question action with a single OK button instead of message box. If it does not work assigning logout action to an automation command will work.