added validation for the address field being blank