Added DB logging for several API commands
Calculate & log API request time to the DB
Log the number of search results for a query