Adding changes in javascript and login