get EventSource working