@commitandrollback decorator added; missing logging module reference added;