Correct redirection with input textfield