Add blog validation and change flash color