modify layout and root page