add index to users, entries table