remove deactivated users from user mapping in apps