cleaned up unused code in the dashboard template