Added missing php tags to the Post controller
Removed test code from index.php