fixed bug. now add_page form adds pages to categories