Added login.js for login prompt