linked up dashboard with proper login routes