core of password fingerprint check works