code: function onLinkWithEmailAndPassword() {
    var email = $('#link-email').val();
    var password = $('#link-password').val();
    activeUser().linkWithCredential(
        firebase.auth.EmailAuthProvider.credential(email, password))
        .then(onAuthUserCredentialSuccess, onAuthError);
  }
docs: Links a signed in user with an email and password account.