add editor page and reset main