added new sessionStorage variable
updated setting user code