made notificationsetting user field an id field