Added a credential type Id to the credential repo interface