code: function() {
        if (Parse.User._currentUser !== null) {
          Parse.User._currentUser._logOutWithAll();
          Parse.User._currentUser._isCurrentUser = false;
        }
        Parse.User._currentUserMatchesDisk = true;
        Parse.User._currentUser = null;
        Parse.localStorage.removeItem(
            Parse._getParsePath(Parse.User._CURRENT_USER_KEY));
      }
docs: Logs out the currently logged in user session. This will remove the
  session from disk, log out of linked services, and future calls to
  <code>current</code> will return <code>null</code>.