Pull Request 

L14-21, you can simplify this like below so you do not have to add `else { }` po :bow:
```php
if (!is_logged_in()) {
    redirect(url('user/index'));
}

$thread_count = Thread::getNumRows(); 
$pagination = pagination($thread_count, '');
$threads = Thread::getAll($pagination['max']);
$this->set(get_defined_vars());
```