changing filter from params to session