Pages: fix the index page with the namespaces
Pages: make sure the add action works with the namespaces