take out dashboard to template from index.html