getPassword written