Added session logging: a new session begins after 30 minutes of inactivity