fixed disconnect link appearing even when not logged in