remove old login detection