edited signup error handling, one parameter for two errors