getUserLiveData

abstract fun getUserLiveData(): LiveData<SimpleResponse<User>?>

Get a LiveData of the logged-in user. This includes name, email, etc.

After logout LiveData.getValue is set to null. You need to re-observe this LiveData once the user is logged out!