Added functionality to search filter by roles.