Updated posts model to require userid and content