add messages and validationexception