logout
Logs the user out by clearing their credentials, session signature, and user data, then notifies all registered listeners.
Logs the user out by clearing their credentials, session signature, and user data, then notifies all registered listeners.