Added authentication for new posts and replies