added styling to error messages