Add check to sessionStorage also