Maybe `processLogout`, `processSignOut`, or `onSignOut` would be a better name for the backend implementation function