Do we need the ``setLoggedIn`` ?