adding history ui