syntax fixes and updates
missing semicolon
fixed some return statements
removed extra commas
changed error status to be correct
fixed a query
Merge pull request #17 from b-dub25/master

syntax updates