Modify layout and routes