move dbsession to separate file and set session file in settings
check session id in the webapp - refs #4 - w.i.p.