added the password function document to readme