code: function(phone) {
        var user = this.getUser();
        if (user) {
          return this._q.when(user.updatePhone(phone));
        } else {
          return this._q.reject("Cannot update phone since there is no logged in user.");
        }
      }
docs: Changes the phone for an phone/password user.
  
  @param {String} phone The new phone for the currently logged in user.
  @return {Promise<>} An empty promise fulfilled once the phone change is complete.