Added session functionality to tables