create post service instead of using