form and form data display in header and footer successful