use sessionStorage in vote and check userId