adding dynamic home page