bug fix

save login preference, name "" -> implicity