Updated with add page to category functionality