protected the dashboard