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

Done po. Used $this->id instead