Add header and footer to pages controller