add events route to server