refactor routes and dashboard route