updating browser login code