implemented session search