login tweaks and trying to figure out why login is still having problem