Running passcode success / failure logic on the main thread