DRYed up site views
moved helper methods into application helper