scope = Accounts.get_scope_for_user(user.id)
Is wrong and should be:
scope = Accounts.Scope.for_user(user)