Fix for double login