fix a bug in signup
fix a bug of login