protected void RestartSystem_register_load() { //delete all users: List <int> allUsers = UserBridge.GetAllUsers(); Users.ForEach(u => { if (!allUsers.Contains(u)) { UserBridge.DeleteUser(u); } }); }