mark unvisited pages; store visited in cookie