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

Done po. Used $db->search() instead of $db->row().