add error messages through partials