This image shows the Action Chains editor, where the Logout action is being dragged and dropped onto the Add Action area of the If action. The If action's condition is set to [[ $application.variables.avatarItems[0].id ]].