Added to get id of event

PROBLEM: cant start tomcat :(