added validation for phone number and rfid