fix login for deleted users