Transaction logging functional

check db details in the file i sent