added and wired auth js files with index.html