syntax updates

added missing commas and semicolons . 
removed some unneeded commas.
corrected a naming issue.
fixed a query.
fixed how I was doing Response.
corrected error code.