add if deleted to login process