added tracking of last known message by user.