Add simple JavaScript to check for correct PIN