modified server search handler

working on Core Data client handler