validation added to check for valid phone number