front end responding to some server events