Updated Set User Function