1)fix bug of before_action set_event, 2) error message display for name field verification  in new/update actions