fixed bug in signup flow