minor changes
Corrected iteration login AT LAST.