Added option to limit the maximum number of users that can be retrieved in searches; Renamed search routes to index