Updating the login with commonJs script.