add filter to user page #6
refactoring