authentication.js is now compliant with code standard;