added validations and notify to posts