Added rendering error message in case of validation fail