Add mongoose configuration