Merge "Use User->isRegistered(), not deprecated isLoggedIn()"