adds search on front-end