Connection to API added