Added check for unsupported login types