Added Logging Functionality for Failed Attempts on a Passcode