Update Main_class.php

Updated the create_page() function.  It no longer creates a page for some F$&%&^% reason. It did the first time though.