This will help specific deployments that need to do something custom here such as redirect the user or call some API after Element has logged out and cleared storage.