Changes to move to PRE and read login parms