added ncurses code to hide password for extra credit