converting guilds to use viewset