added general success error message in tempalte