add credential helper