updated router and dashboard view