hooked up views to the html