added ugly search on front end as well as backend stubbs