added webstorage, removed cookies