rewrite home page