added api calls to web interface