setup passport for editor