Reverted to dataset, implemented basic database logging(for future use)