changed webserver interface to remove dangerous methods