added factories for post and member