Changed sessions driver to database