Add user object to global array
New http function to better handle query building and error checking
Merge pull request #2 from gcw07/master

Import from main master