Record stats to Postgres
Display stats after each request