module.exports = function(app) { var User = app.models.User; console.log(app.models.AccessToken); User.create ({ email: 'admin@admin.com', password: '1234' }, function (err, user) { console.log ('User created!'); }); };