adds user filter functionality