Updated the code to use strictly the dashboards api.

The PHU no longer makes direct database connections.