refactored error messages for new.html.erb