Additional logic for home page.