code: function(){
        var userid = $('#login_email').val(),
            password = $('#login_password').val();
  
        $('#register_button').attr('value', 'Creating account...');
        $('#login_button, #or').hide();
  
        // Run the CloudMine createUser call and chain on success and error callbacks.
        cm.createUser(userid, password)
          .on('success', function(response){
            todo.process_registration(response, { userid: userid, password: password });
          })
          .on('conflict', function(data){
              todo.error('login', data.errors[0]);
          })
          .on('badrequest', function(data){
                todo.error('login', 'Please enter a valid email.');
          })
          .on('error', function(){
            $('#register_button').attr('value', 'Register');
            $('#login_button, #or').show();
          });
      }
docs: Default priority /*
  register_user
  
  Called by the Register button click on the login screen.
  It uses cm.createUser to register a new user account using the info entered in