changed search to submit tags and controller logic to handle it