creates a new action for events_controller