Fixed double login