added init.js file to login file