Avoid duplicated userid changed event.
Only expose the API and not the whole instance.