Cleaned pages.php
Amends
Updated .gitignore because of the database changes