added getPassword(), see #4