Fixed bug in signup.