You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: users.rs
    path of file: ./repos/ockam/implementations/rust/ockam/ockam_api/src/cli_state
    
    the code of the file until where you have to start completion: use ockam_core::errcode::{Kind, Origin};
use ockam_core::Error;

use crate::cli_state::CliState;
use crate::cli_state::Result;
use crate::cloud::email_address::EmailAddress;
use crate::clo
    
    pub async fn store_user(&self, user: &UserInfo) -> Result<()> {
        let repository = self.users_repository();
        let is_first_user = repository.get_users().await?.is_empty();
        repository.store_user(user).await?;

        // if this is the first user we store we mark it as the default user
        if is_first_user {
            self.set_default_user(&user.email).await?
        }
        Ok(())
    }