connection with the rest api an starting to showing point