Add samples of SigService and fixed some bugs...