old_contents: from django.contrib import admin
  
  from bluebottle.bb_accounts.admin import BlueBottleUserAdmin
  
  from .models import Member
  
  class MemberAdmin(BlueBottleUserAdmin):
      pass
  
  
  
  admin.site.register(Member, BlueBottleUserAdmin)
new_contents: from django.contrib import admin
  from django.conf.urls import patterns, url, include
  from django.http import HttpResponseRedirect
  
  
  from bluebottle.bb_accounts.admin import BlueBottleUserAdmin
  
  from .models import Member
  
  
  class MemberAdmin(BlueBottleUserAdmin):
      def __init__(self, *args, **kwargs):
          super(MemberAdmin, self).__init__(*args, **kwargs)
          
          self.list_display = ('email', 'first_name', 'last_name', 'is_staff', 'date_joined', 'is_active', 'login_as_link')
  
      def get_urls(self):
          urls = super(MemberAdmin, self).get_urls()
  
          extra_urls = patterns('',
                             (r'^login-as/(?P<user_id>\d+)/$',
                              self.admin_site.admin_view(self.login_as_redirect)),
                          )
          return extra_urls + urls
  
      def login_as_redirect(self, *args, **kwargs):
          user = Member.objects.get(id = kwargs.get('user_id', None))
          url = "/#!/login-with/{0}".format(user.get_jwt_token())
          
          return HttpResponseRedirect(url)
  
      def login_as_link(self, obj):
          return "<a target='_blank' href='/admin/members/member/login-as/{0}/'>{1}</a>".format(obj.pk, 'Login as user')
  
      login_as_link.allow_tags = True
  
  admin.site.register(Member, MemberAdmin)
  
subject: add login as user for jwt token users CLUB-760 #resolve