Update deprecated setUser to setUserContext