add PostFactory for GET posts