added nodejs socket code in dashboard