removed hardcoded api server url