Added functionality to the home page.