added index to usersccontroller