Adding in validations on post title and post.