fix crud nuances
add token security for aql save backwards compatibility
Merge pull request #239 from will123195/3.0

better db error messages