Fix bug in signup.