put on icon and emit message and save to mongodb