modifying the configurations for sails mongoose