Adding resources and groups