updated DatabaseSessionHandler