Fixed logout on editor.php