Ensured that dashboard is only accesible to authenticated staff users.