added history to webui