Changed data transfer method from sessionStorage to url parsing