cleaned up code in actions and enabled filter on user profile view as well