added session tbl sql