Add validations to Post Model

Closes #11