UserCredential from CredentialRepository in handler