commiting logs and session