added delegeate method to Credential