modify sign_in javascript