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

Please fix spacing 
```php
try {
```