working on dashboard cleanup and api connection