```php
<?php if ( ! User::is_guest()): ?>
```
instead
```php
<?php if (Auth::instance()->logged_in()): ?>
```