created pages controller; updated header and footer