title: How to create users client side?
body: <p>I'm working on a intern document-sharing project for a small company. I want to do this with meteor. I'm very common with html/javascript but not with databases.
  My problem is to handle the users. Because of my researches here I'm not sure if it's already possible to create users on client side. The official documentation shows some methodes how to deal with users but no examples.
  I tried to create a list on server side like this:</p>
  
  <pre><code>Users = new Meteor.Collection("users");
  </code></pre>
  
  <p>Then I want to insert a user on startup like this:</p>
  
  <pre><code>//on Client side
  if (Meteor.isClient) {
  var username = "My Name";
  
      Meteor.call("create_user", username, function(error, user_id) {
           Session.set("user_id", user_id);
  });
  }
  
  //on Server side
  if(Meteor.is_server) {
  Meteor.methods({
      create_user: function(username) {
          console.log("CREATING USER");
          var USER_id = Users.insert({name: username});
          return user_id;
      },
  });
  }
  </code></pre>
  
  <p>But reading the username in the html template doesn't work...</p>
  
  <p>Are there any good examples with a register and login?</p>
  
  <p>Cheers</p>