add notification flags to user model