added the barebones of the user controller
changed Api to API
finished formating the JSON for the API
cleaned up some of the code