add sql return for getLoggersThatUserCanRead + show stats before log gui output