Changed passward input to use the getpass module