register an event or a ticket