Added unique validation for mongoose to fix 11000 error from Mongo.