New API
firebase.auth().createUserWithEmailAndPassword(email, password).catch(function(error) {
	console.log(error);
});Old API
firebase.createUser({
  email    : "[email protected]",
  password : "correcthorsebatterystaple"
}, function(error, userData) {
  if (error) {
    console.log("Error creating user:", error);
  } else {
    console.log("Successfully created user account with uid:", userData.uid);
  }
});New API
firebase.auth().signInWithEmailAndPassword(email, password).catch(function(error) {
	console.log(error);
});Old API
firebase.authWithPassword({
  email    : "[email protected]",
  password : "correcthorsebatterystaple"
}, function(error, authData) {
  if (error) {
    console.log("Login Failed!", error);
  } else {
    console.log("Authenticated successfully with payload:", authData);
  }
});New API
firebase.auth().signOut().then(function() {
  // Sign-out successful.
}, function(error) {
	console.log(error);
});Old API
firebase.unauth();New API
?
Old API
firebase.removeUser({
  email    : "[email protected]",
  password : "correcthorsebatterystaple"
}, function(error) {
  if (error === null) {
    console.log("User removed successfully");
  } else {
    console.log("Error removing user:", error);
  }
});