Added validations with strong parameters for posts create action