fixed login issue when you delete DB but lastUpdatedDate remains the same by checking if there are data in dictionary table. If no - set lastUpdatedData = 0