added basic chat search funcitonality