add helper methods to allow for one main template and less redirects.