change of logsearch to use db apikey (too)