Added log to dbhelper