handling multiple sessions: db creation