logging actions for viewers