ensure user details has been stored into sessionStorage