Working on sending event data to server