added credential helper