added search funcitonality to chat rooms