working on login

think it works, but is isolated to sessions areas.  tryign to modify to
make work everywhere