pub async fn create_session_to_state<R: Runtime>( app_handle: &AppHandle<R>, request: LoginRequest, ) -> Result<Client>