added before_filter to prevent creation, editing, or deletion of posts without sign-in