insert home page UI code