Board Exercise (Login, Registration, Pagination)

First pull request
L107 ~ L111 can be rewritten like this po 
```php
if (!$this->validate() || !$comment->validate()) {
    throw new ValidationException('invalid thread or comment');
}
```