@aronasorman code looks good.  But I tried it out, and user registration is not working.  I debugged and found that this line must be: `return username` (or `return self.cleaned_data["username"]`)