fixed console.log on authentication.js bug