index.php now pulls content from the database