edited signup error handling