added support for django custom user with no 'username' field