visit.logout();
visit.logout(cycle);
    public void resetCoreContext(IRequestCycle cycle) {        // need to reset all data that could potentially have a reference        // to users        resetDialPlans(cycle);        resetPhoneContext(cycle);        resetCallGroupContext(cycle);        getCoreContext().clear();        Visit visit = (Visit) getVisit();        visit.logout();    }