adding Fingerprint check code for security