created views for header and footer