setting up root and dashboard routes