fixed addphraseform helper
got started on the new active state stuff. not going to use session anymore.