if user does not fill in fields user sees appropriate error messages