Added checking if session table exists before creating it in the session task

Signed-off-by: Derek Myers <arcticpro@gmail.com>
Merge pull request #1353 from dmyers/bugfix/session-task

Improved session task for creating table