moved posts factories
validations on post