Allen & Overy advises on building society first