Added collection name validation (it has to be unique)