implemented search on the front and group pages