Add password guard for name input.