'Return a list of instances if user has an account for the provider'

@classmethod
def for_user(cls, user):

    try:
        accounts = SocialAccount.objects.filter(user=user, provider=cls.adapter.provider_id)
        return [cls(user=user, account=account) for account in accounts]
    except SocialAccount.DoesNotExist:
        return []
