added script on login page