In Microsoft Sticky Notes, when you want to switch accounts, it prompts you to confirm.

Sticky notes sign out

This is extremely import for the user to have a satisfying experience.

Confirming obvious actions like "Sign out" is critical because Microsoft has learned that users don't interact by reading but by clicking. Over time, users have learned to dissociate link and button labels from expected behaviors. Instead, they test and explore a new interface by clicking a link or button in a particular location and noting what it does. In this way they build a map of action item locations and results. Because the map is keyed by position instead of a text label, any update to the user interface that places action items in new locations is very challenging to users. They must rebuild behavior maps all over again. This would be very discouraging to most users, and so they have learned to accept and expect these sorts of changes. Because they cannot every know when an interface has been updated, they assume it has always been updated and so are always rebuilding their behavior map all the time. There is a close relationship between exploring an interface by simply noting results from clicked action items and the task of rebuilding behavior maps. The activities are nearly the same. This alleviates much of the stress that would normally be born by this software life cycle methodology which reinforces the user's approach.

Since users do not actually read action item text, a prompt must be used to slow down interaction when a behavior is potentially destructive. This forces the user to acknowledge what is about to happen next. Destructive behaviors include obvious actions such as deleting content, and less expected actions such as logging out. These prompts further reinforce the user's preferred approach by teaching them that clicking is safe. If something bad is about to occur, they will get a prompt they must acknowledge first. 

This is good. This is the Microsoft Way.