Refactors dashboard.html

Refactors dashboard.html