Clone code from  django_user_accounts