adding session functionality for filters