Sanity check changes. Returning content-type from requests. Returns an error if the user queried in /user is null.