Non-abelian gerbes and some applications in string theory