associations established, validations created for posts model (must have title && body)