modify table and column sql queries
add getSession method