First Pull request for code review - Registration, User Log in, Pagination

you do not need to pass po the username and password parameters in `authenticate` since you already set them in L13-14.
you can directly call them in the `User` class. `$this->username` as `$this->password` :bow: