Block user actions when logout
The logout process takes around 8 seconds while the user could perform some actions since s/he cannot notice it. The user can feel that it didn't work and click again and again the logout button, resetting and resending the logout request and leading to a loop that doesn't log out the user and can end in a None server response
error.
Solution:
Add a full screen dimmer with a Logging out, please wait
message that block actions and informs the user