add a user profile model.

after migration you should init this by:
for user in User.objects.all():
       user.userprofile = UserProfile()
test_segments is OK
remove print
add can_user_acess_discussion
enforce segmentation