refactor list_dashboards

I think this can be simpler