added confirm_logged_in fx to new_page.php and new_subject.php.