grab user input in controller#index