Add if statement in line 14 for UserNotifier