simple chat using nodejs and mongodb