Registers a callback to run before an auth state change is committed.
Optional
An unsubscribe function.
Registers a callback to run before an auth state change is committed.