added cookies to save tags in between sessions