Added functionality to sort and filter Users