Create credentialchecker.java updated