logEvent, rename logViewed add POST tests