Rearranged async http calls