old_contents: /* jshint -W097  */
  /* globals require, module, console */
  
  'use strict';
  
  var hookUserMethods = require('./lib/user');
  var addProvider = require('./lib/provider').addProvider;
  
  module.exports = function(app, providers, config) {
    var User = app.models[config.userModel];
    providers.map(function(provider) {
      addProvider(provider.provider, provider.name);
    });
    hookUserMethods(User, config);
  };
  
new_contents: 'use strict';
  
  const hookUserMethods = require('./lib/user');
  const addProvider = require('./lib/provider').addProvider;
  
  module.exports = (app, providers, config) => {
    const User = app.models[config.userModel];
    providers.map((provider) => {
      addProvider(provider.provider, provider.name);
    });
    hookUserMethods(User, config);
  };
  
subject: Refactor to ES6