Chat application using nodeJS and mongoDB