function resetUser() {
    if (isPosthogLoaded()) {
        window.posthog.reset();
    }
}
Calls posthog.reset() to clear the current user's distinct_id and all associated properties
To be called when a user logs out

@returns {void}