Added session heartbeat for semi-permanent login