change routes and home page to partial