added logging functionality; logging overall pageviews. current session pageviews can be seen after each request