add a controller for the home page