added authentication js file