Adds cookies to index.php