adding more client-side functionality to the dashboard.