remove useless code of signin