web api and gui