change password, login tweaks, added debug var