Add validates to Post model
add state_machine
Add state_machine logic and views