add the getHistory service