Removing endpoints in the dashboard controller and passing the app/resource group names via global variables instead