added functionality related to search client + server side