handled routes and homepage