formatted the dashboard page