Add authentication filter for dashboard