added editor. session use db.