fixed cookie store example, added comment