login check is type save now