Pagination and custom category addition