Remove old login code