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