alternative map conditional
persistent login session