updated/fixed webinterface. URL of webinterface now exposed through a function