minor refactoring on user filter
removed env route