Board Exercise (Login, Registration, Pagination)

First pull request
Please rename the function "threadsrows" under thread.php.
Not only does it not follow the naming convention (camelCase),
but we must also avoid redundancy. So rename it to countThreads instead po :bow: