fixed API calls, webserver url mapping