Mongoose plugin to manage credits