added user analytics to each page hit