make page view count to work with session hash