Eliminate dead code
Fix link from dashboard view to directory view