create a view and implement some functionality for the home controller