added code for saving or adding blog post