fixed bug in signup