can User.isRealmValid be called after fetching getOriginLoggedIn to reduce the number of network calls in the case that there is an email saved for the domain?