Add findGuildByPlayer function