adjusted documentation output. Added an extra token check in client key
auth. Fix null pointer in date range.