create pages resource