corrected routes and dashboard controller test