All requests now logged to DB.
Fix duplication of API call in examples. Docs are edited too.