Adding api call async task