adding dynamic homepage