added proper views, and a page