Prevent link toggle when not logged in