added connection to api
Modified api result display