Saving post content in database