readPassword function extracted
name of helter method changed