Renamed "type" resource to "event type"
Fixed event type references in controller