fixing issue #1 - Edit options for post is enabled even if not logged in