Prevent double login event