All in wonder solution for guilds and clans based on cakephp