added index view for states controller