added display of errors and messages after provision.