Phase Difference Between Node And React Authentication