When you use the default foundation component “userInfo” be sure that in headLibs.jsp you include <cq:include path=”analytics” resourceType=”cq/analytics/components/analytics”/> <cq:include path=”clickstreamcloud” resourceType=”cq/personalization/components/clickstreamcloud”/> it includes a CQ_Analytics class that the default logout() function uses.

continue reading.....