complete auth for node