Adapt web interface with API changes. Fix #5