createUserWithEmailAndPassword
Creates a new user account with email and password credentials.User’s email address
User’s password
Promise<void>
Error Handling: Throws error if account creation fails. Error is logged and re-thrown.
loginUserWithEmailAndPassword
Authenticates a user with email and password, creating a new session.User’s email address
User’s password
Promise<void>
Error Handling: Throws error if login fails. Error is logged and re-thrown.