User Model with categorySchema nested into userSchema:
const categorySchema = new mongoose.Schema({ categoryName: { type: String, maxlength: [40, \'