fixed typo, renamed login{} variables
hm