controlling login over ip