fixed signin bug

using hash algorithm to sha256