models/credential library