add CredentialUserRepository, SpringSecurityResource.getCredentialUser