Added onfetch to hook into when restservices are fetched for the admin gui