fix identity problem is Id in session no longer exists in DB