removed old login code