Add authentication.js