Switch from cURL to file_get_contents, less code

Merged the kinda unnecessary stuff with the URL-transformation into one line,
switched from cURL to file_get_contents, cURL was causing some weird bugs for me.

Tested on my projects, works all fine
Forgot the edit one line

Fixed
Merge pull request #17 from BlackCetha/patch-1

Optimizing and fixing a strange bug in userInfo.php