added config, mongoose