moved content div to header (close in footer) and output all error messages in header before content output
moved content div to header (close in footer) and output all errors in header before content output
open content div in header, output all errors in header, close content div in footer