updated home page to use template window