Great, add the authentification and pagination features to the code given previously.