add passcode check