Updated router to use request.RequestURI