add history and webserver for client