mongoose configuration added