credential loop