Adding code to check for an existing username.