adds new post validation, also adds parameter sanitizing and automatic submission of created_at and updated_at fields