change to database session