fromName

fun fromName(name: String): LoginType