Switches from file_get_contents() to curl
Reduced the number of WebAPI calls in the user lookup process