Adjust heartbeat.  Detect when session is expried and give a popup.