Added debugging for webui