added a wrapper template
modified all user facing pages to use template