added feature of changing user