Added ActionController method log_event