I am new to Laravel and I am trying to create an admin dashboard for my application. 

The goal is display all users that have an active subscription through stripe. Currently when the page loads it is displaying all users regardless if they have an active subscription or not. 

In my blade file:

```html
<tbody>
    @for ($x = 0; $x < count($users); $x++)
        <tr class='clickable-row'
            data-href="{{ url('/applicationDetails', $users[$x]['id']) }}">
            <td scope="row">
                {{$users[$x]['id']}}
            </td>
            <td scope="row">
                {{$users[$x]['email']}}
            </td>
        </tr>
    @endfor
</tbody>

```

In my web route:

```php
Route::get('/dashboard', function () {
    $users = App\User::where('processed', 0)->get();
    foreach ($users as $user) {
        if ($user->subscribed('SAM Registration')) {
            return view('admin/dashboard', ['user' => $user, 'users' => $users]);
        }
    }
});

```