create index for sessions