added form to log events