Added uniqueness in index and validation for phone number.