added editpost.php