Fixing the bug in signup.