Fix routes and the 404 page