add js for login.html