started on page to log events, bit of refactoring