# AON Developer Documentation: Get User Account Function
# Get User Account Function
This documentation provides a detailed explanation of the `getAccount` function, which handles user account retrieval, login authentication, and interaction with the Ethereum provider. It includes asynchronous operations to ensure smooth and non-blocking user experience.
...
...
@@ -50,10 +50,11 @@ async function getAccount() {
});
}else{
// If user is already logged in, interact with Ethereum provider to get account
# AON Developer Documentation: User Login Function
# User Login Function
This documentation provides a detailed explanation of the `login` function, which handles user login in an asynchronous manner, including checks for user authentication, showing loading indicators, and emitting events upon successful login.