add authentication.js