Board Exercise (Login, Registration, Pagination)

First pull request
row count can be retrieve like this po :bow:
```php
return (int) $db->value('SELECT COUNT(*) FROM thread');
```