Removing local userHistory and using OntologyManager instead