improve registration: check if username already exists