added index to users collection