Use a dirty store to manage sessions