adding controllers and views for all pages