implements filter on profile page, doing it client side for now, should probably switch to doing it server side