add home page logic