fixed bug for signup