# [Basic Auth](https://firebase.google.com/docs/auth/web/password-auth) ## Create account ```js firebase.auth().createUserWithEmailAndPassword(email, password).catch(function(error) { console.log(error); }); ``` ## Sign in ```js firebase.auth().signInWithEmailAndPassword(email, password).catch(function(error) { console.log(error); }); ``` ## Sign out ```js firebase.auth().signOut().then(function() { // Sign-out successful. }, function(error) { console.log(error); }); ``` ## Delete user > ?