pub async fn simple_code_registration(
    pool: &Pool<Postgres>,
    host_name: &str,
    code: String
)