use template for uni homepage; use two flush instead of exit