Add pagination and authenticate.