made users#index respond to JSON