Updated router to load any page from outside the editor