create dynamic homepage