end of session commit