Upon submitting PIN code, await result. Removed some debug lines. New version.