added in external login credential handling