fixed email and phone number joint validation and added code for uploading contacts