strip_tags() and trim() are now applied to error messages before show them