create dynamic home page