added error messages for comment created