added dynamic homepage