implement basic chat polling