Fix: check for log in before allowing an edit post