add logining.js file