pub async fn create_nonce(conn: &mut PoolConnection<Postgres>) -> Result<Nonce>