Fix authors endpoint; add stats endpoint.