insert error messages on profile-edit form