added validation to name and phone number