Proper way to add field to the user collection in meteor
问题 So I'm trying to add an 'account_type' field to the user collection. Meteor.startup(function () { if (Meteor.users.find().count() === 0){ var user = Accounts.createUser({ email: 'email@fake.com', password: 'password' }); Meteor.users.update({_id: user}, {$set : {account_type: 'admin'}}); } }); When I call Meteor.user().account_type , it's undefined. I also read somewhere that something like this may be necessary: Meteor.methods({ get_user: function(user_id){ return Meteor.users().find({ _id: