fixxed problem with cookies, now we use local html storage