Fixes the validation
Fixes the published flag
Renaming
Adds missing semicolon
Adds the post repository