set login info to session storage