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

Suggestion po, you could just put required in fields in your form to make it required
for example: <input type='text' required> 
something like this. Also if your form's method is post, your first condition in your if statement could be written like this
if ($_POST) :bow: