Note that this code uses Profile.GetProfile(args.AnonymousID) to get an instance of the previous, anonymous profi le of the user. This gets a reference to the profi le of the user before she logged in. args.AnonymousID returns a unique identifi er for the anonymous user, which has been stored as the user’s username in the Users table in the database.