Added check duplicates in MongoDB