Modify setUserFree method