change login to userId