saving user data to session storage