PHP and New Pages

Some initial PHP for specific pages interacting with the database and
some new pages for extra functionalities.