showOrHidePassword method