Adds view model to the home page.