setting up pages.py