added display error messages on form