docs: def print_events(events):
      """Prints out the event log for a user"""
      columns = ['Date', 'Type', 'IP Address', 'label', 'username']
      table = formatting.Table(columns)
      for event in events:
          table.add_row([event.get('eventCreateDate'), event.get('eventName'),
                         event.get('ipAddress'), event.get('label'), event.get('username')])
      return table