Cannot edit or delete if not owner of the post, refactored in partials