add helper method for setting and rendering page titles and change templates in views to use this helper