added error state to nickname input field