added provider  sails.js hook