Adding auth complete and auth js.