Session helper.
Added in posts table, user and post meta table as well as an options table.