re-added session stuff after rolling back