added password prompt and example, requires tests