adding event categories endpoint