changed the search default method to 'post'