added search session functionality