updated dashboard/index.js