implemented the dashboard