update users page to sort by permission