Minor fix in Login procedure