added cookies to index