added action to redirect the input to the phidi page