title: How to add an additional field to Meteor.users collection (not within the Profile field)
body: <p>I'm currently building a mini app that takes in a user login into Facebook for an event. There is no determining how many people will login, hence, mongoDB will be updated as users (clients) log in. However, I'm trying to insert an additional boolean field in Meteor's users collection and I'm not sure how to go about doing that. Here is my accounts.js code (server-side) that add's in users</p>
  
  <pre><code>Accounts.onCreateUser(function (options, user) {
    if (options.profile) {
      //want the users facebook pic and it is not provided by the facebook.service
      options.profile.picture = "http://graph.facebook.com/" + user.services.facebook.id + "/picture/?type=large";
      data = user.services.facebook;
      user.profile = options.profile;
      user.profile.voted = false;
    }
      return user;
  });
  </code></pre>
  
  <p>Currently, I'm assigning the boolean field ("voted") to the profile field. But I can't seem to update this boolean value from the client-side js. The code I've got over here is shown below</p>
  
  <pre><code>Template.skills.events({
      'click input.inc': function () {
      Skills.update(Session.get("selected_skill"), {$inc: {mana: 1}});
      //Meteor.users.update({_id:Meteor.default_connection.userId()},{$set:{profile.name:true}});
      alert(Meteor.user().profile.name);
      }
  });
  </code></pre>
  
  <p>FYI:skills.events is merely a handlebar (Handlebars.js) that is triggered when a button is clicked. The attempt here is to update MongoDB when the button is clicked.</p>
  
  <p>I'm pretty new to Meteor and hope the information provided is sufficient.</p>