setup routing to handle searchfield parameter
changed search function to handle field parameter