changing user login code