added database for logging data_daemon.py fetches