searching state is saved in session