Prelimary database code written for Session page.